package com.xmy.erp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 学生所在学校分数划分
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@TableName("student_at_school_score_divide")
@ApiModel(value = "StudentAtSchoolScoreDivide对象", description = "学生所在学校分数划分")
public class StudentAtSchoolScoreDivide implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("对应student_at_school表id")
    private Long studentAtSchoolId;

    @ApiModelProperty("0幼儿园，1小学，2初中，3高中")
    private Integer gradeSection;

    @ApiModelProperty("分数（90）或者分段（A+,A,B,B+,C）")
    private String score;

    @ApiModelProperty("分数类型：1分数，2分段")
    private Integer scoreType;

    private BigDecimal scoreStart;

    private BigDecimal scoreEnd;

    private Integer deleted;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getStudentAtSchoolId() {
        return studentAtSchoolId;
    }

    public void setStudentAtSchoolId(Long studentAtSchoolId) {
        this.studentAtSchoolId = studentAtSchoolId;
    }
    public Integer getGradeSection() {
        return gradeSection;
    }

    public void setGradeSection(Integer gradeSection) {
        this.gradeSection = gradeSection;
    }
    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }
    public Integer getScoreType() {
        return scoreType;
    }

    public void setScoreType(Integer scoreType) {
        this.scoreType = scoreType;
    }
    public BigDecimal getScoreStart() {
        return scoreStart;
    }

    public void setScoreStart(BigDecimal scoreStart) {
        this.scoreStart = scoreStart;
    }
    public BigDecimal getScoreEnd() {
        return scoreEnd;
    }

    public void setScoreEnd(BigDecimal scoreEnd) {
        this.scoreEnd = scoreEnd;
    }
    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }
    public LocalDateTime getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(LocalDateTime updatedAt) {
        this.updatedAt = updatedAt;
    }

    @Override
    public String toString() {
        return "StudentAtSchoolScoreDivide{" +
            "id=" + id +
            ", studentAtSchoolId=" + studentAtSchoolId +
            ", gradeSection=" + gradeSection +
            ", score=" + score +
            ", scoreType=" + scoreType +
            ", scoreStart=" + scoreStart +
            ", scoreEnd=" + scoreEnd +
            ", deleted=" + deleted +
            ", createdAt=" + createdAt +
            ", updatedAt=" + updatedAt +
        "}";
    }
}
